package com.credithc.signature.common.mapper;

import com.credithc.baseserv.core.mapper.BsBaseMapper;
import com.credithc.signature.common.po.FddAuthPerson;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @desc: <br/>
 * @author: Jingbo Hu<br/>
 * @time：2020年07⽉13⽇<br/>
 * @version：v1.0.0<br>
 */
@Mapper
public interface FddAuthPersonMapper extends BsBaseMapper<FddAuthPerson> {

    List<FddAuthPerson> selectByOpenId(@Param("openId") String openId);

    FddAuthPerson selectByTypeAndNo(@Param("idTypeCode") String idTypeCode, @Param("userIdNo") String userIdNo);

    FddAuthPerson selectByNoAndName(@Param("customerIdentNo") String customerIdentNo, @Param("customerName") String customerName);

    FddAuthPerson selectByCustomerId(@Param("customerId") String customerId);
}

